<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="plug/uploadify/uploadify.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="plug/jQuery/jquery-2.0.2.js"></script>

<script type="text/javascript" src="plug/uploadify/jquery.uploadify.js" charset="utf-8"></script>
<!-- <script type="text/javascript" src="uploadify/swfobject.js" charset="utf-8"></script> -->

</head>
<body>
	<div id="fileQueue"></div>
    <input type="file" name="uploadify" id="uploadify" />
    <p>
      <a href="javascript:$('#uploadify').uploadify('upload','*')">上传</a>| 
      <a href="javascript:$('#uploadify').uploadifyClearQueue()">取消上传</a>
    </p>
</body>
<script type="text/javascript">
$("#uploadify").uploadify({
		swf     : 'plug/uploadify/uploadify.swf',
		uploader: 'uploadfiy.do',
		buttonText: 'aa',
		folder: 'UploadFile', 
	 	queueID: "fileQueue",
	 	progressData : 'percentage',
		auto: true,
		multi: true
	});
</script>
</html>
